package com.ysh.mapper;

import com.ysh.domain.Login;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;



public interface LoginMapper {
    @Select("select * from login where username=#{user} and pwd=#{password}")
    public Login findByNameAndPwd(@Param("user") String username, @Param("password")String pwd);
}
